package com.ky.user.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PostVo {
    private String username;
    @TableId(value = "post_id", type = IdType.AUTO)
    private Integer userId;

    /**
     * 动态内容
     */
    private String content;

    /**
     * 动态图片url
     */
    private String imageUrl;

    /**
     * 点赞数量
     */
    private Integer likesCount;

    /**
     * 评论数量
     */
    private Integer commentsCount;

    /**
     * 发布时间
     */
    private Date timestamp;



}
